<?php 
require_once '../common.php';
//检查登录
checkauth();
checklogin();
/**
 * award 兑奖
 * guess 谜语
 * image 图片
 * pray 祝福
 * system 系统设置
 */
$dos = array('award','guess','image','news','pray','system');
$do = (!empty($_GET['do']) && in_array($_GET['do'], $dos))?$_GET['do']:'system';
require_once S_ROOT.'admin/do_'.$do.'.php';
?>